/**
	A specialized ActivityObserver that listens for mouse events.

	@author Chandler McWilliams
	@version 2005-12-22
	
	@usage
	<code>
	var moa = new MouseActivityObserver(10000);
	e = {};
	e.onActive = function() {
		trace('active');
	}
	e.onInactive = function() {
		trace('inactive');
	}
	moa.addListener(e);
	</code>
		
	this would trace "inactive" if there are no mouse events for 10 seconds.
	And "active" whenever an event occurs and the state is inactive.
	
*/
dynamic class timber.mouse.MouseActivityObserver extends timber.util.ActivityObserver
{
	/**
		Constructor

		@param  newInactiveInterval Length of time before inactive;
	**/
	
	function MouseActivityObserver(newInactiveInterval:Number) {
		super(newInactiveInterval, Mouse, ['onMouseMove','onMouseUp','onMouseDown']);
	}
}

